package com.layer8.RPS;

public class Pet {

    private String name, description;
    private int base, stamina, skPoint, fMove;
    private double strPhys, strMag, strGrap;
    private AttackType fAtkType;
    private int image;
    private double currHealth;

    public enum AttackType {
        Physical, Magical, Grapple;
    }

    public Pet(String name, String description, int base, int stamina, double strPhys, double strMag, double strGap, int skPoint, AttackType fAtkType, int fMove, int image) {
        this.name = name;
        this.description = description;
        this.base = base;
        this.stamina = stamina;
        this.strPhys = strPhys;
        this.strMag = strMag;
        this.strGrap = strGap;
        this.skPoint = skPoint;
        this.fAtkType = fAtkType;
        this.fMove = fMove;
        this.image = image;
        this.currHealth = stamina;
    }

    public void dealDamage(double damage) {
        currHealth -= damage;
    }

    public void heal(double health) {
        currHealth += health;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public int getBase() {
        return base;
    }

    public void setBase(int base) {
        this.base = base;
    }

    public int getStamina() {
        return stamina;
    }

    public void setStamina(int stamina) {
        this.stamina = stamina;
    }

    public double getStrPhys() {
        return strPhys;
    }

    public void setStrPhys(double strPhys) {
        this.strPhys = strPhys;
    }

    public double getStrMag() {
        return strMag;
    }

    public void setStrMag(double strMag) {
        this.strMag = strMag;
    }

    public double getStrGrap() {
        return strGrap;
    }

    public void setStrGrap(double strGrap) {
        this.strGrap = strGrap;
    }

    public int getSkPoint() {
        return skPoint;
    }

    public void setSkPoint(int skPoint) {
        this.skPoint = skPoint;
    }

    public AttackType getfAtkType() {
        return fAtkType;
    }

    public void setfAtkType(AttackType fAtkType) {
        this.fAtkType = fAtkType;
    }

    public int getfMove() {
        return fMove;
    }

    public void setfMove(int fMove) {
        this.fMove = fMove;
    }

    public double getCurrHealth() {
        return currHealth;
    }

    public void setCurrHealth(float currHealth) {
        this.currHealth = currHealth;
    }

    public int getImage() {
        return image;
    }

    public void setImage(int image) {
        this.image = image;
    }
}
